package com.abocode.aichat.server.context.channel;

import com.abocode.aichat.data.Entity;
import io.netty.channel.Channel;

import java.util.List;

/**
 * @author guanxf
 */
public interface ProtocolChannelRegistry extends ChannelRegistry {
     List<Channel> get(Entity entity);

     boolean isOnline(Entity entity);

     String domain(Entity entity);

     void presence(Entity entity);

     void registerEntity(Channel channel, Entity entity);
}
